local sk__rongzhuang = fk.CreateSkill {

  name = "sk__rongzhuang",

  tags = { Skill.Compulsory, },

}



sk__rongzhuang:addEffect(fk.CardUsing, {
  name = "sk__rongzhuang",
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(sk__rongzhuang.name) and data.card.trueName == "slash" and
        #player:getEquipments(Card.SubtypeArmor) > 0
  end,
  on_use = function(self, event, target, player, data)
    data.disresponsiveList = player.room:getOtherPlayers(player)
  end,
})

sk__rongzhuang:addEffect("targetmod", {
  name = "#sk__rongzhuang_targetmod",
  --sk__rongzhuang,
  bypass_times = function(self, player, skill, scope)
    return player:hasSkill(sk__rongzhuang.name) and skill.trueName == "slash_skill" and scope == Player.HistoryPhase and
        #player:getEquipments(Card.SubtypeWeapon) > 0
  end,
})

return sk__rongzhuang
